<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button>前进</button>
    <button>后退</button>
</body>
<script>
   window.onclick=function(){
  // open('https://fanyi.baidu.com/#en/zh/confirm%0Alocation%0Aopen%0Aclose')
  //close()


   }
</script>
</html>